﻿namespace Sidvall.UI.Dialogs
{
	public class DialogEventArgs : System.EventArgs
	{
		public LogOffDialogContext LogOffDialogContext { get; protected set; }
		public LogOnDialogContext LogOnDialogContext { get; protected set; }
		public OpenFileDialogContext OpenFileDialogContext { get; protected set; }
		public SaveFileDialogContext SaveFileDialogContext { get; protected set; }
		public OpenFolderDialogContext OpenFolderDialogContext { get; protected set; }
		public MessageContext MessageContext { get; protected set; }
		public ProgressDialogContext ProgressDialogContext { get; protected set; }
		public WebDialogContext WebDialogContext { get; protected set; }

		public DialogEventArgs(LogOffDialogContext context)
		{
			this.LogOffDialogContext = context;
		}
		public DialogEventArgs(LogOnDialogContext context)
		{
			this.LogOnDialogContext = context;
		}
		public DialogEventArgs(OpenFileDialogContext context)
		{
			this.OpenFileDialogContext = context;
		}
		public DialogEventArgs(SaveFileDialogContext context)
		{
			this.SaveFileDialogContext = context;
		}
		public DialogEventArgs(OpenFolderDialogContext context)
		{
			this.OpenFolderDialogContext = context;
		}
		public DialogEventArgs(MessageContext context)
		{
			this.MessageContext = context;
		}
		public DialogEventArgs(ProgressDialogContext context)
		{
			this.ProgressDialogContext = context;
		}
		public DialogEventArgs(WebDialogContext context)
		{
			this.WebDialogContext = context;
		}
	}
}
